<template>
  <view>
	  <u-navbar :is-back="false" title="消息管理"
	    title-size="30"
	    :background="{background:'#2B88FE' }"
	    title-color="#fff">
	    <div class="head_icon">
	      <u-icon @click="$api.handleBackTo"
	        name="arrow-left" color="#fff"
	        size="36">
	      </u-icon>
	      <u-icon @click="$api.handleHomeTo"
	        name="home" color="#fff" size="36">
	      </u-icon>
	    </div>
	  </u-navbar>
	  
    <u-empty text="暂无数据" mode="message" v-if="!clist.length"></u-empty>
    <u-card v-for="(item,index) in clist" :key="index" :title=" title" :sub-title="subTitle">
      <view class="" slot="body">
        <view class="u-body-item u-flex u-border-bottom u-col-between u-p-t-0">
          <view class="u-body-item-title u-line-2">瓶身描绘的牡丹一如你初妆，冉冉檀香透过窗心事我了然，宣纸上走笔至此搁一半</view>
          <image
            src="https://img11.360buyimg.com/n7/jfs/t1/94448/29/2734/524808/5dd4cc16E990dfb6b/59c256f85a8c3757.jpg"
            mode="aspectFill"></image>
        </view>
        <view class="u-body-item u-flex u-row-between u-p-b-0">
          <view class="u-body-item-title u-line-2">釉色渲染仕女图韵味被私藏，而你嫣然的一笑如含苞待放</view>
          <image
            src="https://img12.360buyimg.com/n7/jfs/t1/102191/19/9072/330688/5e0af7cfE17698872/c91c00d713bf729a.jpg"
            mode="aspectFill"></image>
        </view>
      </view>
    </u-card>
  </view>

</template>

<script>
export default {
  data() {
    return {
      title: '素胚勾勒出青花，笔锋浓转淡',
      subTitle: '2020-05-15',
      clist: []
    }
  },
  onShareAppMessage() {},
  created() {
    this.$axios('api/UserMess/ListPaged', 'post', { iType: 0 }).then(res => {
      this.clist = res.Value.List
    })
  }
}
</script>

<style scoped lang="scss">
.u-card-wrap {
  background-color: $u-bg-color;
  padding: 1px;
}

.u-body-item {
  font-size: 32rpx;
  color: #333;
  padding: 20rpx 10rpx;
}

.u-body-item image {
  width: 120rpx;
  flex: 0 0 120rpx;
  height: 120rpx;
  border-radius: 8rpx;
  margin-left: 12rpx;
}
</style>